package org.sjsu.freedoor.model;

public class Community {
	private String m_description;
	private String m_url;
	
	public Community(String description, String url){
		m_description = description;
		m_url = url;
	}
	
	public void setDescription(String description){
		m_description = description;
	}
	
	public String getDescription(){
		return m_description;
	}
	
	public void setURL(String url){
		m_url = url;
	}
	
	public String getURL(){
		return m_url;
	}
	
	public String toJSON(){
		String ret = "{\"description\":\"" + m_description + "\", \"url\":\"" + m_url + "\"}";
		
		return ret;
	}
}
